package com.atguigu.gmallsuger.service;

import com.atguigu.gmallsuger.bean.ProvinceStats;
import com.atguigu.gmallsuger.mapper.ProviceStatsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProvinceStatsServiceImpl implements ProvinceStatsService{
    
    
    @Autowired
    ProviceStatsMapper proviceStatsMapper;
    @Override
    public List<ProvinceStats> getProvinceStatsByName(int date) {
        return proviceStatsMapper.getProvinceStatsByName(date);
    }
}
